package com.cloud.job.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Name Config
 * @Description
 * @Author douhaichao
 * @Date 2019/3/14 14:45
 * @Version 1.0
 **/
@AllArgsConstructor
@Data
@NoArgsConstructor
@Component
public class Config {
    @Value("${webSite}")
    private String webSite;

    @Value("${staticSite}")
    private String staticSite;

    @Value("${staticVersion:1}")
    private String staticVersion;

    @Value("${defaultPageSize:20}")
    private String defaultPageSize;

    @Value("${imgUrl}")
    private String imgUrl;

    @Value("${isDebug:0}")
    private Integer isDebug;

    @Value("${tempImgPath:}")
    private String tempImgPath;

    @Value("${oss.endpoint:}")
    private String ossEndpoint;
    @Value("${oss.accessKeyId:}")
    private String ossAccessKeyId;
    @Value("${oss.accessKeySecret:}")
    private String ossAccessKeySecret;
    @Value("${oss.bucketName:}")
    private String ossBucketName;

    /**
     * 拼多多订单同步
     * */
    @Value("${jobUrl.pddOrder:}")
    private String jobUrlPddOrder;

}
